p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
MINUS2(x, s1(y)) -> P1(minus2(x, p1(s1(y))))
MINUS2(x, s1(y)) -> LE2(x, s1(y))
MINUS2(x, s1(y)) -> IF3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
LE2(s1(x), s1(y)) -> LE2(x, y)
MINUS2(x, s1(y)) -> P1(s1(y))
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
MINUS2(x, s1(y)) -> P1(minus2(x, p1(s1(y))))
MINUS2(x, s1(y)) -> LE2(x, s1(y))
MINUS2(x, s1(y)) -> IF3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
LE2(s1(x), s1(y)) -> LE2(x, y)
MINUS2(x, s1(y)) -> P1(s1(y))
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
LE2(s1(x), s1(y)) -> LE2(x, y)
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LE2(s1(x), s1(y)) -> LE2(x, y)
POL( LE2(x1, x2) ) = max{0, x2 - 1}
POL( s1(x1) ) = x1 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS2(x, s1(y)) -> MINUS2(x, p1(s1(y)))
POL( MINUS2(x1, x2) ) = max{0, x2 - 1}
POL( s1(x1) ) = x1 + 2
POL( p1(x1) ) = max{0, x1 - 2}
p1(s1(x)) -> x
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
p1(0) -> 0
p1(s1(x)) -> x
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
minus2(x, 0) -> x
minus2(x, s1(y)) -> if3(le2(x, s1(y)), 0, p1(minus2(x, p1(s1(y)))))
if3(true, x, y) -> x
if3(false, x, y) -> y